package com.bungarus.event;

import com.bungarus.codec.protobuf.MessageProtobuf;
import com.bungarus.model.Session;

/**
 * Created by tang on 2018/11/13.
 */
public class SessionCreatedEvent {
    private Session session;
    private MessageProtobuf.Header header;

    public SessionCreatedEvent(Session session, MessageProtobuf.Header header) {
        this.session = session;
        this.header = header;
    }

    public Session getSession() {
        return session;
    }

    public void setSession(Session session) {
        this.session = session;
    }

    public MessageProtobuf.Header getHeader() {
        return header;
    }

    public void setHeader(MessageProtobuf.Header header) {
        this.header = header;
    }
}
